[INFO] cloning repository https://github.com/shivenigma/data-structures-algorithms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shivenigma/data-structures-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e6745b9085f7c4f0411d4bb7d0dc7ca50cef79d
[INFO] testing shivenigma/data-structures-algorithms against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shivenigma/data-structures-algorithms
[INFO] finished tweaking git repo https://github.com/shivenigma/data-structures-algorithms
[INFO] tweaked toml for git repo https://github.com/shivenigma/data-structures-algorithms written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shivenigma/data-structures-algorithms on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shivenigma/data-structures-algorithms already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98489a7f5b4ffac7768dbc8d22419a8b4c0b8d645c50ae0804dbf3b6b6f376f1
[INFO] running `Command { std: "docker" "start" "-a" "98489a7f5b4ffac7768dbc8d22419a8b4c0b8d645c50ae0804dbf3b6b6f376f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98489a7f5b4ffac7768dbc8d22419a8b4c0b8d645c50ae0804dbf3b6b6f376f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98489a7f5b4ffac7768dbc8d22419a8b4c0b8d645c50ae0804dbf3b6b6f376f1", kill_on_drop: false }`
[INFO] [stdout] 98489a7f5b4ffac7768dbc8d22419a8b4c0b8d645c50ae0804dbf3b6b6f376f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1c20102c117ea757302e597f01688e065fefff778768f390daa87839398b691
[INFO] running `Command { std: "docker" "start" "-a" "d1c20102c117ea757302e597f01688e065fefff778768f390daa87839398b691", kill_on_drop: false }`
[INFO] [stderr]    Compiling data-structures v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/ds/singly_linked_list.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 |             next: Some(Box::new(next))
[INFO] [stdout]    |                        -------- ^^^^ expected `Node<T>`, found `Option<Node<T>>`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Node<_>`
[INFO] [stdout]                 found enum `Option<Node<_>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/alloc/src/boxed.rs:284:11
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Node<T>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 24 |             next: Some(Box::new(next.expect("REASON")))
[INFO] [stdout]    |                                     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn push_back(&self, element: T){
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn add_before(&self, element:T, index: i32){
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn add_before(&self, element:T, index: i32){
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn add_after(&self, element: T, index: i32){}
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:44:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn add_after(&self, element: T, index: i32){}
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn find(&self, element: T) -> Option<T>{
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn erase(&self, element: T){
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.head` as enum variant `Some` which is behind a shared reference
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |        match self.head {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 52 |            Some(x) => return false,
[INFO] [stdout]    |                 - data moved here because `x` has type `Node<T>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 51 |        match &self.head {
[INFO] [stdout]    |              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/ds/singly_linked_list.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |            Some(x) => return false,
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `data-structures` (lib) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d1c20102c117ea757302e597f01688e065fefff778768f390daa87839398b691", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1c20102c117ea757302e597f01688e065fefff778768f390daa87839398b691", kill_on_drop: false }`
[INFO] [stdout] d1c20102c117ea757302e597f01688e065fefff778768f390daa87839398b691
